package com.zf.shuashua.ui.home;

import android.os.Bundle;
import android.view.View;

import com.zf.shuashua.R;
import com.zf.shuashua.ShuaApplication;
import com.zf.shuashua.base.BaseFragment;
import com.zf.shuashua.common.ScreenUtils;

public class HotHomeFragment extends BaseFragment {

    public static HotHomeFragment newInstance() {
        Bundle args = new Bundle();
        HotHomeFragment fragment = new HotHomeFragment();
        fragment.setArguments(args);
        return fragment;
    }

    @Override
    protected void initView(View rootView) {
        rootView.setPadding(0, ScreenUtils.getStatusBarHeight(ShuaApplication.getContext()), 0, 0);
        if (findFragment(HotVideoFragment.class) == null) {
            loadRootFragment(R.id.fl_container, HotVideoFragment.newInstance());
        }
    }

    @Override
    protected void initViewModel() {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_comm_fl;
    }
}
